package com.itheima.demo02;

public class BMW extends Car implements GPS{

    @Override
    public void run() {
        System.out.println("宝马车开着很舒服!");
    }

    @Override
    public void GPS() {
        System.out.println("宝马车有GPS");
    }

    public BMW() {
    }

    public BMW(String brand, int price) {
        super(brand, price);
    }
}
